{%extends 'base.html'%}
{%block title%}大型旧手机换脸盆现场{%endblock%}
{%block content%}
<div class='container' align=center>
{%for p in products%}
{%if forloop.first%}
<table>
	<tr bgcolor='#C0C0C0'>
		<td width=250>手机</td>
		<td width=150>厂牌/型号</td>
		<td width=50>出厂年份</td>
		<td>价格</td>
		<td>详情</td></tr>
{%endif%}
	<tr bgcolor='{%cycle "#FFFF99" "#FFFFFF"%}'>
		<td>{{p.nickname}}</td>
		<td>{{p.pmodel.maker.name}}/{{p.pmodel}}</td>
		<td>{{p.year}}</td>
		<td align=right>{{p.price}}</td>
		<td><a href='{%url "detail-url" p.id%}'>浏览{{p.nickname}}高清无码大图</a></td>
	</tr>
{%if forloop.last%}
</table>
{%endif%}
{%empty%}
<h3>目前暂无可用库存的旧手机换脸盆，真遗憾啊，脸盆卖不出去了</h3>
{%endfor%}
</div>
{%endblock%}